<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>id选择器示例:</title>
  <style type="text/css">
    #section-red {color:red;}
    #section-green {color:green;}
  </style>
</head>
<body>
<p><b>id选择器示例:</b></p>
<p id="section-red">这个段落是红色</p>
<p id="section-green">这个段落是绿色</p>
<hr>
</body>
</html>